package com.capgemini.simpleappblanche.dao.security;

import org.springframework.security.core.userdetails.UserDetailsService;

import com.capgemini.simpleappblanche.domain.security.User;
import com.capgemini.simpleappblanche.utils.GenericDao;

public interface IUserDao extends GenericDao<User,Long>, UserDetailsService {

    /**
     * Get user by userName
     * @param username username
     * @return User
     */
    User getByUsername(String username);
}